package pl.edu.mimuw.irs.core.morph.maxmatch;

import pl.edu.mimuw.irs.core.util.graph.Edge;

public class DirectedEdge extends Edge {

	// *** Attributes
	private Vertex source;
	private Vertex target;
	public Vertex getSource() {
		return source;
	}
	public void setSource(Vertex source) {
		this.source = source;
	}
	public Vertex getTarget() {
		return target;
	}
	public void setTarget(Vertex target) {
		this.target = target;
	}

	// *** Constructors

	public DirectedEdge(Vertex source, Vertex target) {
		super(source, target);
		setSource(source);
		setTarget(target);
	}
	
	// *** Methods
}
